package com.chcplayer.ui
{
import flash.text.TextField;
import flash.text.TextFieldAutoSize;
import flash.text.TextFormat;

/**
 * author yh
 */
public class BaseConfirmWindow extends BaseWindow
{
	/**
	 */
	protected var p_ttf:TextField = new TextField();
	/**
	 */
	public function BaseConfirmWindow()
	{
		super("确认", 400, 150);
		p_ttf.x = p_ttf.y = 20;
		p_ttf.defaultTextFormat = new TextFormat("Microsoft YaHei", 15);
		p_ttf.mouseEnabled = false;
		p_ttf.autoSize = TextFieldAutoSize.LEFT;
		p_ttf.multiline = true;
		this.addChild(p_ttf);
		p_btnOK.y = p_btnCancel.y = 70;
		this.addChild(p_btnOK);
		this.addChild(p_btnCancel);
	}
}
}